package pack0622;


public class a {
    public static void main(String[] args) {
        int a= 1;
        int b= 1;
        int sum =0;
        for (int i=0;i<28;i++){
            sum=a+b;
            a=b;
            b=sum;

        }
        System.out.println(sum);
    }

}

